﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace UnityModule
{
    /// <summary>
    /// 暂时这样,以后重构
    /// </summary>
    public enum LoadOptions
    {
        Auto = 1 << 0,
        /// <summary>
        /// 最低权重,异步bundle,异步资源
        /// </summary>
        LowPriority = 1 << 1,
        /// <summary>
        /// 正常权重
        /// </summary>
        NormalPriority = 1 << 2,
        /// <summary>
        /// 最高权重
        /// </summary>
        HightPriority = 1 << 3,
        /// <summary>
        /// 只有本场景用，调用卸载接口会卸载这部分bundle
        /// </summary>
        SceneOnly = 1 << 4,
        /// <summary>
        /// 加载的是sprite
        /// </summary>
        Sprites = 1 << 5,
        /// <summary>
        /// 缓存不卸载
        /// </summary>
        DontAutoUnload = 1 << 6,
        /// <summary>
        /// 场景资源
        /// </summary>
        Scene = 1 << 7,
        /// <summary>
        /// 附加场景资源
        /// </summary>
        SceneAdditive = 1 << 8,
        /// <summary>
        /// 同步加载场景
        /// </summary>
        SceneSync = 1 << 9,
    }
}
